UNDER

Syntax: UNDER [#ch,] switch
Location: QL ROM

This command switches underlining in the specified window (default #1) either on or off.

Underlining is enabled if switch=1 or disabled if switch=0.

If underlining is enabled, whenever anything is PRINTed, a line will be drawn in the current INK colour in the bottom but one row of the character.

If FLASH is enabled, although the character will continue to flash, the underline itself will not. MODE will disable underlining.

Example:
UNDER 1: PRINT 'Title:'!: UNDER 0: PRINT !'QL SuperBASIC'

CROSS-REFERENCE:
INK sets the current ink colour for the specified channel
PRINT prints out characters.
